/*
 *Copyright (c) 2014 fengmang studio. All rights reserved
 *
 *build time 2014/6/25 23:19 
 *
 *Edition:1.0
 *
 *Founder:bluekey
 *
 *File name:food.h
 *
 *Description:食物类在此实现
 */
#ifndef _FOOD_H_
#define _FOOD_H_

#include"base.h"
#include<curses.h>
#include<vector>
#include"snake.h"
using namespace std;

class food:public base	//从基类中继承
{
public:
	bool new_food(vector<body> &Snake);
	bool eat_food(vector<body> &Snake);
};

#endif	/*_FOOD_H_*/

